package db

const TableNameTypeEquip = TablePrefix + "type_equip"

type TypeEquip struct {
	ID       uint  `gorm:"primary_key" json:"id"`
	TypeID   uint  `gorm:"column:type_id;type:int(11);default:0;comment:商品id" json:"type_id" form:"type_id"`    //类型id
	Increase int64 `gorm:"column:increase;type:int(11);default:0;comment:增幅比例" json:"increase" form:"increase"` //增幅比例
	Term     int64 `gorm:"column:term;type:int(11);default:0;comment:期限(天)" json:"term" form:"term"`            //期限(天)
}

func (*TypeEquip) TableName() string {
	return TableNameTypeEquip
}
